<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<title>canvas3D测试</title>
		<!--<link rel="stylesheet" type="text/css" href="css/bimView-api-1.css" />-->
		<link rel="stylesheet" type="text/css" href="css/bimView-api-2.css" />
		<style>
			html, body, #app{
				display: block;
				padding: 0;
				margin: 0;
				width: 100%;
				height: 100%;
			}
		</style>
	</head>

	<body>
		<!-- 所有的东西需要在一个div中，方便之后内容插入 -->
		<div id="app">
		</div>
		<!-- js -->
		<!--<script type="text/javascript" src="js/jquery-1.11.0.min.js"></script>-->
		<!--<script type="text/javascript" src="js/draggabilly.pkgd.min.js" ></script>-->
		<script type="text/javascript" src="js/require.js"></script>
		<!-- 本页面需要的js,需要封装的时候再清除 -->
		<!--<script type="text/javascript" src="js/jquery-ui.min.js"></script>-->
		<!--<script type="text/javascript" src="js/angular.1.4.6.min.js"></script>-->
		<script>
            requirejs.config({
                paths: {
                    "demo": "js/demo",
                    "jquery": "js/jquery-1.11.0.min",
                    "jquery-ui": "js/jquery-ui.min",
                    "draggabilly": "js/draggabilly.pkgd.min",
                    "angularModule": "js/angularModule",
                    "angular": "js/angular.1.4.6.min"
                },

                shim: {
                    "draggabilly": {
                        deps: ["jquery"]
                    }
                }
            });

			require(["demo"], function(bimView) {
				var demo = new bimView();
				demo.init("app");
			});
		</script>
	</body>

</html>